package com.eightbears.beboy.entity;

import com.eightbears.beboy.base.BaseEntity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Administrator on 2017/10/13.
 */

public class ChildrenEntity implements Serializable {

    /**
     * message : success
     * status_code : 200
     * data : {"list":[{"id":5,"user_id":103420,"l_parent_id":0,"m_parent_id":102,"s_parent_id":101,"l_agent_id":0,"m_agent_id":0,"s_agent_id":0,"agent_level":0,"children":{"user_id":103420,"nickname":"夏","cover":"","mobile":"18144863973"}},{"id":6,"user_id":103256,"l_parent_id":0,"m_parent_id":102,"s_parent_id":101,"l_agent_id":0,"m_agent_id":0,"s_agent_id":0,"agent_level":0,"children":{"user_id":103256,"nickname":"云中歌","cover":"http://beboy.oss-cn-shanghai.aliyuncs.com/image/avatar_103256_1497968915.jpeg","mobile":"17688931221"}}],"next_page":2,"page_size":"10","is_end":1}
     */

    private String message;
    private int status_code;
    private DataBean data;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getStatus_code() {
        return status_code;
    }

    public void setStatus_code(int status_code) {
        this.status_code = status_code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable {
        /**
         * list : [{"id":5,"user_id":103420,"l_parent_id":0,"m_parent_id":102,"s_parent_id":101,"l_agent_id":0,"m_agent_id":0,"s_agent_id":0,"agent_level":0,"children":{"user_id":103420,"nickname":"夏","cover":"","mobile":"18144863973"}},{"id":6,"user_id":103256,"l_parent_id":0,"m_parent_id":102,"s_parent_id":101,"l_agent_id":0,"m_agent_id":0,"s_agent_id":0,"agent_level":0,"children":{"user_id":103256,"nickname":"云中歌","cover":"http://beboy.oss-cn-shanghai.aliyuncs.com/image/avatar_103256_1497968915.jpeg","mobile":"17688931221"}}]
         * next_page : 2
         * page_size : 10
         * is_end : 1
         */

        private int next_page;
        private String page_size;
        private int is_end;
        private List<ListBean> list;

        public int getNext_page() {
            return next_page;
        }

        public void setNext_page(int next_page) {
            this.next_page = next_page;
        }

        public String getPage_size() {
            return page_size;
        }

        public void setPage_size(String page_size) {
            this.page_size = page_size;
        }

        public int getIs_end() {
            return is_end;
        }

        public void setIs_end(int is_end) {
            this.is_end = is_end;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean implements Serializable {
            /**
             * id : 5
             * user_id : 103420
             * l_parent_id : 0
             * m_parent_id : 102
             * s_parent_id : 101
             * l_agent_id : 0
             * m_agent_id : 0
             * s_agent_id : 0
             * agent_level : 0
             * children : {"user_id":103420,"nickname":"夏","cover":"","mobile":"18144863973"}
             */

            private int id;
            private int user_id;
            private int l_parent_id;
            private int m_parent_id;
            private int s_parent_id;
            private int l_agent_id;
            private int m_agent_id;
            private int s_agent_id;
            private int agent_level;
            private ChildrenBean children;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getUser_id() {
                return user_id;
            }

            public void setUser_id(int user_id) {
                this.user_id = user_id;
            }

            public int getL_parent_id() {
                return l_parent_id;
            }

            public void setL_parent_id(int l_parent_id) {
                this.l_parent_id = l_parent_id;
            }

            public int getM_parent_id() {
                return m_parent_id;
            }

            public void setM_parent_id(int m_parent_id) {
                this.m_parent_id = m_parent_id;
            }

            public int getS_parent_id() {
                return s_parent_id;
            }

            public void setS_parent_id(int s_parent_id) {
                this.s_parent_id = s_parent_id;
            }

            public int getL_agent_id() {
                return l_agent_id;
            }

            public void setL_agent_id(int l_agent_id) {
                this.l_agent_id = l_agent_id;
            }

            public int getM_agent_id() {
                return m_agent_id;
            }

            public void setM_agent_id(int m_agent_id) {
                this.m_agent_id = m_agent_id;
            }

            public int getS_agent_id() {
                return s_agent_id;
            }

            public void setS_agent_id(int s_agent_id) {
                this.s_agent_id = s_agent_id;
            }

            public int getAgent_level() {
                return agent_level;
            }

            public void setAgent_level(int agent_level) {
                this.agent_level = agent_level;
            }

            public ChildrenBean getChildren() {
                return children;
            }

            public void setChildren(ChildrenBean children) {
                this.children = children;
            }

            public static class ChildrenBean implements Serializable {
                /**
                 * user_id : 103420
                 * nickname : 夏
                 * cover :
                 * mobile : 18144863973
                 */

                private int user_id;
                private String nickname;
                private String cover;
                private String mobile;

                public int getUser_id() {
                    return user_id;
                }

                public void setUser_id(int user_id) {
                    this.user_id = user_id;
                }

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }

                public String getCover() {
                    return cover;
                }

                public void setCover(String cover) {
                    this.cover = cover;
                }

                public String getMobile() {
                    return mobile;
                }

                public void setMobile(String mobile) {
                    this.mobile = mobile;
                }
            }
        }
    }
}
